home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Demos / Tools / AppMaker / Examples / pre-built AMReminder / PowerPlant / AMReminderMain.cp < prev    next >
Encoding:
Text File  |  1994-11-03  |  666 b   |  36 lines  |  [TEXT/MMCC]

  1. // AMReminderMain.cp -- Main
  2. // Created 01/01/95 12:01 PM by AppMaker
  3.  
  4. #include "CAMReminderApp.h"
  5.  
  6. #include <LGrowZone.h>
  7. #include <UDrawingState.h>
  8. #include <UMemoryMgr.h>
  9. #include <UPowerTools.h>
  10.  
  11. //----------
  12. void
  13. main()
  14. {
  15.                                     // Set Debugging options
  16. #ifdef Debug_Throw
  17.     gDebugThrow = debugAction_Alert;
  18. #endif
  19.  
  20. #ifdef Debug_Signal
  21.     gDebugSignal = debugAction_Alert;
  22. #endif
  23.  
  24.     InitializeHeap(3);
  25.     UQDGlobals::InitializeToolbox(&qd);
  26.  
  27. #ifdef Debug_Signal                    // Check for missing MBAR, which
  28.     CheckForInitialMBAR();            // probably means that there is no
  29. #endif                                // project resource file
  30.  
  31.     new LGrowZone(20000);
  32.  
  33.     CAMReminderApp    theApp;
  34.     theApp.Run();
  35. }
  36.